package xyz.sicau.blog.utils;

import java.util.Map;

public class UserThreadLocal {
    private UserThreadLocal() {
    }

    private static ThreadLocal<Map<String, String>> LOCAL = new ThreadLocal<Map<String, String>>();

    public static void put(Map<String, String> map) {
        LOCAL.set(map);
    }

    public static Map<String, String> get() {
        return LOCAL.get();
    }

    public static void remove() {
        LOCAL.remove();
    }

}